package com.vectquant.lwwl_service01.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 微信小程序配置类
 * 用于读取application.yml中的微信配置
 */

@Configuration
@ConfigurationProperties(prefix = "wechat")

public class WechatConfig{
    private String appid;
    private String secret;

    public String getAppid(){ return appid; }
    public void setAppid(String appid){ this.appid = appid; }

    public String getSecret(){ return secret; }
    public void  setSecret(String secret){ this.secret = secret;}
}